Skip to content

feat: add Promise.allKeyed and Promise.allSettledKeyed to esnext - #64093

Open
Oleksandr Tarasiuk (a-tarasyuk) wants to merge 1 commit into
microsoft:mainfrom
a-tarasyuk:feat/63701
Open

feat: add Promise.allKeyed and Promise.allSettledKeyed to esnext#64093
Oleksandr Tarasiuk (a-tarasyuk) wants to merge 1 commit into
microsoft:mainfrom
a-tarasyuk:feat/63701

Conversation

@a-tarasyuk

Copy link
Copy Markdown
Contributor

Fixes #63701

Copilot AI balanced review requested due to automatic review settings August 29, 2026 19:57
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Aug 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds ESNext typings for the Stage 3 keyed Promise combinators.

Changes:

  • Adds Promise.allKeyed and Promise.allSettledKeyed declarations.
  • Registers and embeds the new esnext.promise library.
  • Adds compiler coverage and updates generated baselines.

Reviewed changes

Copilot reviewed 15 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsc/internal/bundled/embed_generated.go Embeds the new library.
tsc/internal/bundled/libs/lib.esnext.d.ts References esnext.promise.
tsc/internal/bundled/libs/lib.esnext.promise.d.ts Declares the new APIs.
tsc/internal/bundled/libs_generated.go Registers the bundled library.
tsc/internal/compiler/program_test.go Adds it to expected ESNext libraries.
tsc/internal/tsoptions/enummaps.go Maps the esnext.promise option.
tsc/testdata/baselines/reference/compiler/libReplacement(libreplacement=true).trace.json Updates replacement resolution trace.
tsc/testdata/baselines/reference/compiler/promiseAllKeyed.js Records test emit.
tsc/testdata/baselines/reference/compiler/promiseAllKeyed.symbols Records inferred symbols.
tsc/testdata/baselines/reference/compiler/promiseAllKeyed.types Records inferred types.
tsc/testdata/baselines/reference/tsc/commandLine/help-all.js Updates library help output.
tsc/testdata/baselines/reference/tsc/commandLine/help.js Updates library help output.
tsc/testdata/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-cannot-provide-terminal-width.js Updates help baseline.
tsc/testdata/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js Updates help baseline.
tsc/testdata/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js Updates library listing.
tsc/testdata/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js Updates library listing.
tsc/testdata/baselines/reference/tscWatch/commandLine/Parse-watch-interval-option-without-tsconfig.json.js Updates watch help baseline.
tsc/testdata/baselines/reference/tscWatch/commandLineWatch/watch-handles-tsconfig-deleted.js Updates watch help baseline.
tsc/testdata/tests/cases/compiler/promiseAllKeyed.ts Tests inference, symbols, thenables, and invalid inputs.
Files not reviewed (2)
  • tsc/internal/bundled/embed_generated.go: Generated file
  • tsc/internal/bundled/libs_generated.go: Generated file

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@typescript-automation typescript-automation Bot added the For Milestone Bug PRs that fix a bug with a specific milestone label Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Milestone Bug PRs that fix a bug with a specific milestone

Projects

Status: Not started

Development

Successfully merging this pull request may close these issues.

Support Promise.allKeyed/Promise.allSettledKeyed methods in esnext (eventually es2027)

2 participants